<?php use_helper('I18N', 'Date') ?>
<?php include_partial('announce/assets') ?>

<div id="sf_admin_container">
  <h1><?php echo __('nuova notizia', array(), 'messages') ?></h1>

  <?php include_partial('announce/flashes') ?>

  <?php include_partial('media/manager', array('prefix' => 'vanilla_announce', 'field' => 'text')) ?>

  <div id="sf_admin_header">
    <?php include_partial('announce/form_header', array('vanilla_announce' => $vanilla_announce, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>

  <div id="sf_admin_content">
    <?php include_partial('announce/form', array('vanilla_announce' => $vanilla_announce, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper)) ?>
  </div>

  <div id="sf_admin_footer">
    <?php include_partial('announce/form_footer', array('vanilla_announce' => $vanilla_announce, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>
</div>